﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace FilStartUps_Mobile.Models
{
    public class ForumThread
    {
        [Key]
        public int forumthreadidPK { get; set; }

        [Display(Name="Thread Title")]
        [Required(ErrorMessage="Thread Title is required")]
        public string threadtitle { get; set; }
        public DateTime datecreated { get; set; }
        public int memberidFK { get; set; }
        public bool disabled { get; set; }
        public int forumidFK { get; set; }
        public int views { get; set; }
    }
    public class Forum_Thread
    {
        public int views { get; set; }
        public int forumthreadidPK { get; set; }
        public string threadtitle { get; set; }
        public DateTime datecreated { get; set; }
        //public string membername {get;set;}
        public int totalpost { get; set; }
        //public int totalviews {get;set;}
    }
}